<?php $this->load->view("_inc/header"); ?>

                <div id="titulo"><span>majoribol</span></div>
				<div class="border_left_maj"> </div>
        <div class="border_minimum"></div>
				
				<div id="melhores">
					<blockquote>Aqui, o dono do espetaculo é você!</blockquote>
					
					<div id="content_menu">
						<ul>
                                                        <li><?=anchor('majoribol/', 'Home')?></li>
							<li><?=anchor('majoribol/melhoresTRodada/', 'Melhores times por rodada')?></li>
							<li><?=anchor('majoribol/melhoresRodada/', 'Melhores Jogadores por rodada')?></li>
							<!--<li><?php //anchor('majoribol/meutime/', 'Monte seu time')?></li>-->
						</ul>
					</div>
					<div id="main">
						
						<div id="majoritarios">
							<h4>Times majoritários</h4>
							<table>
                                                            <?php $i=0?>
								<tbody>
                                                                        <?php foreach ($times as $time){?>
                                                                            <tr class="row<?=$i?>">
                                                                                <?php if(isset($time->escudo)){?>
                                                                                    <td><img src='<?=site_url()?>public/img/<?=$time->escudo?>' width="25"></td>
                                                                                    <td><?=$time->time?></td>
                                                                                    <td><?=$time->votos?> </td>
                                                                                    <td><img src='<?=site_url()?>public/img/jogoubem1.png' ></td>
                                                                                <?php } ?>
                                                                            </tr>
                                                                            <?php $i++?>
                                                                        <?php } ?>
								</tbody>
							</table>
						</div>
						<div id="brasoes">
							<h4>Clubes - Série A</h4>
							<table>
								<tbody>
									<tr>
										<td>
											<a href="<?=site_url()?>majoribol/perfilTime/1"><img src='<?=site_url()?>public/img/agothb.png' ></a>
										</tb>
										<td>
											<a href="<?=site_url()?>majoribol/perfilTime/2"><img src='<?=site_url()?>public/img/camthb.png' ></a>
										</tb>
										<td>
											<a href="<?=site_url()?>majoribol/perfilTime/3"><img src='<?=site_url()?>public/img/bathb.png' ></a>
										</tb>
										<td>
											<a href="<?=site_url()?>majoribol/perfilTime/4"><img src='<?=site_url()?>public/img/botthb.png' ></a>
										</tb>
                                                                                <td>
											<a href="<?=site_url()?>majoribol/perfilTime/5"><img src='<?=site_url()?>public/img/corthb.png' ></a>
										</tb>
									</tr>
								
									<tr>
										
										<td>
											<a href="<?=site_url()?>majoribol/perfilTime/6"><img src='<?=site_url()?>public/img/ctbthb.png' ></a>
										</tb>
										<td>
											<a href="<?=site_url()?>majoribol/perfilTime/7"><img src='<?=site_url()?>public/img/cruthb.png' ></a>
										</tb>
										<td>
											<a href="<?=site_url()?>majoribol/perfilTime/8"><img src='<?=site_url()?>public/img/figthb.png' ></a>
										</tb>
                                                                                <td>
											<a href="<?=site_url()?>majoribol/perfilTime/9"><img src='<?=site_url()?>public/img/flathb.png' ></a>
										</tb>
										<td>
											<a href="<?=site_url()?>majoribol/perfilTime/10"><img src='<?=site_url()?>public/img/fluthb.png' ></a>
										</tb>
										
									</tr>
									<tr>
										<td>
											<a href="<?=site_url()?>majoribol/perfilTime/11"><img src='<?=site_url()?>public/img/grethb.png' ></a>
										</tb>
										<td>
											<a href="<?=site_url()?>majoribol/perfilTime/12"><img src='<?=site_url()?>public/img/intthb.png' ></a>
										</tb>
                                                                                <td>
											<a href="<?=site_url()?>majoribol/perfilTime/13"><img src='<?=site_url()?>public/img/nauthb.png' ></a>
										</tb>
										<td>
											<a href="<?=site_url()?>majoribol/perfilTime/14"><img src='<?=site_url()?>public/img/palthb.png' ></a>
										</tb>
										<td>
											<a href="<?=site_url()?>majoribol/perfilTime/15"><img src='<?=site_url()?>public/img/ponthb.png' ></a>
										</tb>
									</tr>
									<tr>
										
										<td>
											<a href="<?=site_url()?>majoribol/perfilTime/16"><img src='<?=site_url()?>public/img/porthb.png' ></a>
										</tb>
										<td>
											<a href="<?=site_url()?>majoribol/perfilTime/17"><img src='<?=site_url()?>public/img/santhb.png' ></a>
										</tb>
										<td>
											<a href="<?=site_url()?>majoribol/perfilTime/18"><img src='<?=site_url()?>public/img/spthb.png' ></a>
										</tb>
										<td>
											<a href="<?=site_url()?>majoribol/perfilTime/19"><img src='<?=site_url()?>public/img/sptthb.png' ></a>
										</tb>
										<td>
											<a href="<?=site_url()?>majoribol/perfilTime/20"><img src='<?=site_url()?>public/img/vasthb.png' ></a>
										</tb>
									</tr>
								</tbody>
							</table>
						</div>
                                            
                                                <!--<div id="champions">
                                                    <h4>Champions</h4>
                                                        <table>
								<tbody>
									<tr>
										
										<td>
											<a href="<?=site_url()?>majoribol/perfilTime/21"><img src='<?=site_url()?>public/img/chelseathb.png' ></a>
										</tb>
										<td>
											<a href="<?=site_url()?>majoribol/perfilTime/22"><img src='<?=site_url()?>public/img/bayernthb.png' ></a>
										</tb>
										<td>
									</tr>
								</tbody>
							</table>
                                                </div>
					</div>
				</div>-->
                                              
        <div id="champions">
            <h4>Jogadores <br><br> majoritários</h4>
                <table>
                    <?php $i=0?>
                        <tbody>
                                <?php foreach ($jogadores as $jogador){?>
                                    <tr class="row<?=$i?>">
                                    <td><img src='<?=site_url()?>public/img/<?=$jogador->escudo?>' width="25" ></td>
                                    <td><?=$jogador->nome?></td>
                                    <td><?=$jogador->votos?>  </td>
                                    <td><img src='<?=site_url()?>public/img/jogoubem1.png' ></td>
                                    </tr>
                                    <?php $i++?>
                                <?php } ?>
                        </tbody>
                </table>
        </div>

    </div>
</div>                                         

<?php $this->load->view("_inc/footer"); ?> 